package com.dingding.web.car.action;

import java.util.List;

import javax.annotation.Resource;

import com.dingding.facade.commonservice.common.dto.company.ReqGetCompanyListDTO;
import com.dingding.facade.commonservice.common.dto.company.ResGetCompanyListDTO;
import com.dingding.facade.commonservice.common.dto.vehicle.VehicleBrandDTO;
import com.dingding.facade.commonservice.facade.vehicle.IVehicleFacade;
import com.dingding.web.base.action.BaseAction;

/**
 * 
 * @ClassName: CarAction 
 * @Description: hufan
 * @author hufan
 * @date 2016年12月3日 下午5:51:52 
 *
 */
public class CarAction extends BaseAction{

	private static final long serialVersionUID = -4455855086824993752L;
	
	@Resource(name = "vehicleFacade")
	private IVehicleFacade vehicleFacade;

	/**
	 * 
	 * @Title: getVehicleBrandList 
	 * @Description: 获取车辆品牌接口
	 * @param @return  参数说明 
	 * @return String    返回类型 
	 * @throws
	 */
	public String getVehicleBrandList() {


		List<VehicleBrandDTO> result = vehicleFacade.getVehicleBrandList();

		super.write(getResJsonp(result));
		
		return NONE;
	}

}
